Flash Article

Integrating Video into Macromedia Flash


Table of Contents

  1. Introduction
  2. Embedding Video Directly in a Flash Document
  3. Importing Video into a Flash document
  4. Using Flash Media Components
  5. Adding Streaming Media to a Media Component
  6. Using the Component Inspector
  7. Streaming Media File Formats
  8. Streaming Video

Streaming Media File Formats

Flash Media components support two file types:

  • MP3 files to stream sound
  • FLV files to stream video

Many programs, including Flash, can compress sound into an MP3 format.

FLV is the Flash file format for streaming video. You can export video to create a FLV using Flash or another video editing program that supports the FLV format.

Example Usage

Drag an instance of the Media Playback component to the Stage to do the following:

  • Display a presentation screen when streaming video or sound.
  • Include playback controls at the bottom of the screen for user control.

Once on the Stage, define the component X,Y origin and size using the Property inspector and add media to the component by specifying a streaming file type and a URL to stream using the Component Inspector Parameters tab.

Exporting FLV files

Export a video file using Flash to create an FLV file.

To export a video to a FLV:

  1. Double-click on the video in the library to display the Embedded Video Properties dialog box, as shown in Figure 5.

    Embedded Video Properties dialog box

    Figure 5. Embedded Video Properties dialog box

  2. Select Export…
  3. Save the exported file to a new name with an FLV extension in the Export FLV dialog box.

    Export FLV dialog box

    Figure 6. Export FLV dialog box